programming4us
           
 
 
Windows

Windows 7 : Setting Up User Security - Preventing Elevation for All Standard Users

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/24/2010 7:37:52 PM
User accounts may seem like simple things, but there’s a lot more to them than meets the eye. For example, you know that in Windows 7 all standard users must enter administrator credentials to perform actions such as installing certain programs or modifying system settings, but did you know that you can disable all elevation prompts for those users? Did you know that you can disable all user accounts (except your own, of course)? Did you know that you can use the built-in Guest account as an easy way to give someone temporary (and limited) access to your computer? Did you know that it’s possible to find out who is logged on to another computer on your network?

Preventing Elevation for All Standard Users

You saw earlier that when a standard user attempts a task that requires elevation, he or she sees a UAC dialog box that requires an administrator password, and the screen switches to secure desktop mode.

There are two problems with this:

  • Standard users almost never have the proper credentials to elevate an action.

  • The combination of the sudden appearance of the User Account Control dialog box and the change into secure desktop mode is confusing for many users, particularly the inexperienced.

These two problems mean that in most cases it would be better if a standard user didn’t get prompted to elevate their privileges. Instead, it would be better to display an Access Denied message and let the user move on from there.

You can use the Local Security Settings snap-in to set this up. Here are the steps to follow:

Note

These steps require the Local Security Settings snap-in, which is available only with Windows 7 Professional, Vista Enterprise, and Vista Ultimate. If you’re not running one of these versions, normally I’d show you how to modify the Registry to get the same effect. Unfortunately, the policy value that we tweak here doesn’t have a Registry equivalent for security reasons.


1.
Select Start, type secpol.msc into the Search box, and then press Enter. The Local Security Policy snap-in appears.

2.
Open the Local Policies branch.

3.
Click the Security Options branch.

4.
Double-click the User Account Control: Behavior of the Elevation Prompt for Standard Users policy.

5.
In the list, choose Automatically Deny Elevation Requests, as shown in Figure 1.

Figure 1. Open the User Account Control: Behavior of the Elevation Prompt for Standard Users policy and choose Automatically Deny Elevation Requests.


6.
Click OK to put the new setting into effect.

Now when a standard user attempts something that requires elevated privileges, he or she just sees a simple dialog box like the one shown in Figure 2. Windows 7 doesn’t switch into secure desktop mode, and the user just has to click Close to continue.

Figure 2. When standard users are denied elevation requests, they see a simple dialog box when they attempt an administrator-level task.


Note

The dialog box the user sees varies depending on the program or service that requires elevation. In each case, however, the user’s only choice is to click a button (usually labeled either Close or OK).

Other -----------------
- Windows 7 : Using Parental Controls to Restrict Computer Usage (part 2) - Setting Up Parental Controls for Games
- Windows 7 : Using Parental Controls to Restrict Computer Usage (part 1) - Activating Parental Controls
- Windows 7 : Working with Users and Groups from the Command Line
- Windows 7 : Setting Account Policies (part 2)
- Windows 7 : Setting Account Policies (part 1)
- Windows 7 : Creating and Managing User Accounts (part 2) - Working with the User Accounts Dialog Box
- Windows 7 : Creating and Managing User Accounts (part 1)
- Windows Vista : Managing Local Logon Accounts
- Windows Vista : User Accounts and Groups
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 7)
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 6)
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 5) - WF Programming Model
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 4) - Activities
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 3) - Workflow Persistence
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 2) - Workflows
- SOA with .NET and Windows Azure : Windows Workflow Foundation (part 1) - WF Architecture
- Windows 7 : Creating and Enforcing Bulletproof Passwords (part 3) - Recovering from a Forgotten Password
- Windows 7 : Creating and Enforcing Bulletproof Passwords (part 2) - Taking Advantage of Windows 7’s Password Policies
- Windows 7 : Creating and Enforcing Bulletproof Passwords (part 1)
- Windows 7 : Understanding User Account Control (part 3) - User Account Control Policies
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us